package com.h2210c.user.fenig;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import com.jiyun.model.Course;
import com.jiyun.model.Training;
import com.jiyun.model.TrainingMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("day15Training")
public interface ListTrainingService {
    @RequestMapping("trainingMember/findtraining")
    public List<Course> findtraining(@RequestParam("id") Integer id);

    @RequestMapping("trainingMember/peixun")
    public List<TrainingMember> jingsai(@RequestParam("id") Integer id);

    @RequestMapping("trainingCourse/num")
    public void num();

    @RequestMapping("training/list")
    public List<Training> list();


    @RequestMapping("training/zuixinpeixun")
    public void zuixinpeixun();



}